projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f3f3a1c
)
gtk/gtkentry.c: Fix build on pre-C99
author
Chun-wei Fan
<fanchunwei@src.gnome.org>
Mon, 15 Feb 2016 09:22:00 +0000
(17:22 +0800)
committer
Chun-wei Fan
<fanchunwei@src.gnome.org>
Mon, 15 Feb 2016 09:22:00 +0000
(17:22 +0800)
This file now uses nearbyint(), so include fallback-c89.c so that
compilers that don't provide the function will not get upset.
gtk/gtkentry.c
patch
|
blob
|
history
diff --git
a/gtk/gtkentry.c
b/gtk/gtkentry.c
index dad0869f440e95cca373cb111b8d4c8c2268ce42..556db72041888a3dd926c15e02f441f4f3602c2a 100644
(file)
--- a/
gtk/gtkentry.c
+++ b/
gtk/gtkentry.c
@@
-28,7
+28,6
@@
#include "config.h"
-#include <math.h>
#include <string.h>
#include "gtkbindings.h"
@@
-74,6
+73,8
@@
#include "a11y/gtkentryaccessible.h"
+#include "fallback-c89.c"
+
/**
* SECTION:gtkentry
* @Short_description: A single line text entry field